home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 5.3 KB | 126 lines | [TEXT/MPS ] |
- ;
- ; File: ROMDefs.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__ROMDEFS__') = 'UNDEFINED' THEN
- __ROMDEFS__ SET 1
-
-
- appleFormat EQU 1 ;Format of Declaration Data (IEEE will assign real value)
- romRevision EQU 1 ;Revision of Declaration Data Format
- testPattern EQU 1519594439 ;FHeader long word test pattern
- sCodeRev EQU 2 ;Revision of code (For sExec)
- sCPU68000 EQU 1 ;CPU type = 68000
- sCPU68020 EQU 2 ;CPU type = 68020
- sCPU68030 EQU 3 ;CPU type = 68030
- sCPU68040 EQU 4 ;CPU type = 68040
- sMacOS68000 EQU 1 ;Mac OS, CPU type = 68000
- sMacOS68020 EQU 2 ;Mac OS, CPU type = 68020
- sMacOS68030 EQU 3 ;Mac OS, CPU type = 68030
- sMacOS68040 EQU 4 ;Mac OS, CPU type = 68040
- board EQU 0 ;Board sResource - Required on all boards
- displayVideoAppleTFB EQU 16843009 ;Video with Apple parameters for TFB card.
- displayVideoAppleGM EQU 16843010 ;Video with Apple parameters for GM card.
- networkEtherNetApple3Com EQU 33620225 ;Ethernet with apple parameters for 3-Comm card.
- testSimpleAppleAny EQU -2147417856 ;A simple test sResource.
- endOfList EQU 255 ;End of list
- defaultTO EQU 100 ;100 retries.
-
- sRsrcType EQU 1 ;Type of sResource
- sRsrcName EQU 2 ;Name of sResource
- sRsrcIcon EQU 3 ;Icon
- sRsrcDrvrDir EQU 4 ;Driver directory
- sRsrcLoadDir EQU 5 ;Load directory
- sRsrcBootRec EQU 6 ;sBoot record
- sRsrcFlags EQU 7 ;sResource Flags
- sRsrcHWDevId EQU 8 ;Hardware Device Id
- minorBaseOS EQU 10 ;Offset to base of sResource in minor space.
- minorLength EQU 11 ;Length of sResource’s address space in standard slot space.
- majorBaseOS EQU 12 ;Offset to base of sResource in Major space.
- majorLength EQU 13 ;Length of sResource in super slot space.
- sRsrccicn EQU 15 ;Color icon
- sRsrcicl8 EQU 16 ;8-bit (indexed) icon
- sRsrcicl4 EQU 17 ;4-bit (indexed) icon
- sDRVRDir EQU 16 ;sDriver directory
- sGammaDir EQU 64 ;sGamma directory
- sRsrcVidNames EQU 65 ;Video mode name directory
- sRsrcDock EQU 80 ;spID for Docking Handlers
- sDiagRec EQU 85 ;spID for board diagnostics
- sVidAuxParams EQU 123 ;more video info for Display Manager -- timing information
- sDebugger EQU 124 ;DatLstEntry for debuggers indicating video anamolies
- sVidAttributes EQU 125 ;video attributes data field (optional,word)
- fLCDScreen EQU 0 ; bit 0 - when set is LCD, else is CRT
- fBuiltInDisplay EQU 1 ; 1 - when set is built-in (in the box) display, else not
- fDefaultColor EQU 2 ; 2 - when set display prefers multi-bit color, else gray
- fActiveBlack EQU 3 ; 3 - when set black on display must be written, else display is naturally black
- fBuiltInDetach EQU 4 ; 4 - when set is built-in (in the box), but detaches
- sVidParmDir EQU 126
- sSuperDir EQU 254
-
- ; =======================================================================
- ; sResource types
- ; =======================================================================
- catBoard EQU 1 ;Category for board types.
- catTest EQU 2 ;Category for test types -- not used much.
- catDisplay EQU 3 ;Category for display (video) cards.
- catNetwork EQU 4 ;Category for Networking cards.
- catCPU EQU $000A
- catProto EQU $0011
- catDock EQU $0020
- ;<Type>
- typeBoard EQU $0000
- typeApple EQU $0001
- typeVideo EQU $0001
- typeEtherNet EQU $0001
- typeStation EQU $0001
- typeDesk EQU $0002
- typeDebugger EQU $0100
- type68000 EQU $0002
- type68020 EQU $0003
- type68030 EQU $0004
- type68040 EQU $0005
- typeAppleII EQU $0015
- ;Driver Interface : <id.SW>
- drSwMacCPU EQU 0
- drSwAppleIIe EQU $0001
- drSwApple EQU 1 ;To ask for or define an Apple-compatible SW device.
- drSwMacsBug EQU $0104
- ;Driver Interface : <id.SW><id.HW>
- drHwTFB EQU 1 ;HW ID for the TFB (original Mac II) video card.
- drHw3Com EQU 1 ;HW ID for the Apple EtherTalk card.
- drHwBSC EQU 3
- drHwGemini EQU 1
- drHwDeskBar EQU 1
- drHwBootBug EQU $0100
- boardId EQU 32 ;Board Id
- pRAMInitData EQU 33 ;sPRAM init data
- primaryInit EQU 34 ;Primary init record
- timeOutConst EQU 35 ;Time out constant
- vendorInfo EQU 36 ;Vendor information List. See Vendor List, below
- boardFlags EQU 37 ;Board Flags
- secondaryInit EQU 38 ;Secondary init record/code
- vendorId EQU 1 ;Vendor Id
- serialNum EQU 2 ;Serial number
- revLevel EQU 3 ;Revision level
- partNum EQU 4 ;Part number
- date EQU 5 ;Last revision date of the card
-
- testByte EQU 32 ;Test byte.
- testWord EQU 33 ;0021
- testLong EQU 34 ;Test Long.
- testString EQU 35 ;Test String.
-
- ENDIF ; __ROMDEFS__
-